package com.springboot.service.impl;

import com.springboot.mapper.UserLoginFormMapper;
import com.springboot.model.UserLoginForm;
import com.springboot.service.DoctorSendMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 医生提醒患者就诊
 */
@Service
public class DoctorSendMessageServiceImpl implements DoctorSendMessageService {
    @Autowired
    private UserLoginFormMapper userLoginFormMapper;

    //通过手机号码查找用户
    @Override
    public UserLoginForm findUserByTel(String tel)
    {
        UserLoginForm userLoginForm=userLoginFormMapper.selectByTel(tel);
        return userLoginForm;
    }
}
